package com.heima.wemedia.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmMaterialPageDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

public interface WmMaterialService extends IService<WmMaterial> {

    /**
     * 上传图片
     * @param file
     * @return
     */
    ResponseResult uploadPicture(MultipartFile file);

    /**
     * 分页查询图片
     * @param wmMaterialPageDto
     * @return
     */
    ResponseResult pagePicture(WmMaterialPageDto wmMaterialPageDto);
}
